package cn.wildfirechat.app.model;


import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

    /**
     * 搜索关键字
     */
    private transient String search;
    /**
     * 序号
     */
    private Integer id;

    /**
     * 用户ID
     */
    private String uid;
    /**
     * 用户名称
     */
    private String name;
    /**
     * 用户昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String avatar;


    /**
     * 性别
     */
    private int gender;
    /**
     * 手机号
     */
    private String mobile;

    /**
     * 地址
     */
    private String address;

    /**
     * 公司
     */
    private String company;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 附加消息
     */
    private String extra;

    /**
     * 用户MD5密码
     */
    private String password;

    /**
     * 原密码
     */
    private transient String oldPassword;

    /**
     * 新密码
     */
    private transient String newPassword;

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
